package com.eboss2.sbs.activity;

import android.os.Bundle;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.eboss2.sbs.R;
import com.eboss2.sbs.activity.base.BaseActivity;
import com.mytools.tool.activityManager.MyActivityManager;
import com.mytools.tool.utils.StringUtils;
import com.tool.utils.view.ShapeView;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class MyTxSuccessActivity extends BaseActivity {


    @BindView(R.id.tv_time)
    TextView tvTime;
    @BindView(R.id.btn_commit)
    ShapeView btnCommit;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mContext = this;
        setContentView(R.layout.activity_mytx_success);
        ButterKnife.bind(this);
        MyActivityManager.getInstance().addActivity(this);
        initView();
    }

    private void initView() {
        RelativeLayout relativeLayout = relativeLayout(R.id.lv_heard);
        relativeLayout.setBackgroundColor(getResources().getColor(R.color.statusBar));
        showView(R.id.titleback_btn_back, true);
        setTvText(R.id.tv_title, "提现");
        showView(R.id.next_sure, false);


        tvTime.setText(StringUtils.getCurTime());
    }

    @Override
    protected void onResume() {
        super.onResume();

    }


    @OnClick(R.id.btn_commit)
    public void onViewClicked() {
        finish();
    }
}
